* {
  margin: 0;
  padding: 0;
}
html {
  font-size: 13.33333vw;
  font-family: yahei;
  height: auto;
}
header {
  height: 0.88rem;
  background-color: #ff2a2a;
  color: #fff;
}
header ul {
  width: 7.12rem;
  height: 0.88rem;
  margin: 0 auto;
  /* background-color: brown; */
  display: flex;
  padding: 0.14rem 0;
  box-sizing: border-box;
  line-height: 0.6rem;
}
ul li {
  list-style: none;
}
a {
  text-decoration: none;
}
header ul li a {
  color: #fff;
}
header ul li:nth-child(1) {
  width: 1.32rem;
  font-size: 0.28rem;
}

header ul li:nth-child(2) {
  flex: 1;
  font-size: 0.26rem;
  background-color: #fff;
  border-radius: 100px;
  color: #ccc;
  text-align: center;
  opacity: 0.8;
}

header ul li .iconfont {
  font-size: 0.28rem;
}

/* article */
article {
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  height: 2.6rem;
  color: white;
}
article div {
  width: 3.5rem;
  height: 2rem;
  padding: 0.2rem;
  box-sizing: border-box;

  position: relative;
  border-radius: 0.1rem;
}
article .d1 {
  background: -webkit-linear-gradient(30deg, red, gold);
}
article .d2 {
  background: -webkit-linear-gradient(
    30deg,
    rgb(0, 129, 235),
    rgb(161, 228, 255)
  );
}

article div span {
  position: absolute;
  top: 0.2rem;
  left: 2.1rem;
}
article div .sp {
  font-size: 1.3rem;
}
article h2 {
  font-size: 0.3rem;
  line-height: 1rem;
}
article p {
  font-size: 0.2rem;
}

/* figure */
figure {
  width: 100%;
  height: 2.9rem;
  padding: 0.2rem 0.1rem;
  box-sizing: border-box;
}
figure ul {
  display: flex;
  list-style-type: none;
  justify-content: space-around;
  flex-wrap: wrap;
}
figure ul li {
  width: 1.2rem;
  height: 1.3rem;
  line-height: 0.72rem;
  text-align: center;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0.2rem;
}
figure .iconfont {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 0.9rem;
  font-size: 0.45rem;
  color: white;
}
figure .fen {
  background-color: violet;
}
figure .huang {
  background-color: rgb(209, 209, 17);
}
figure .lan {
  background-color: rgb(20, 35, 173);
}
figure .zt {
  font-size: 0.2rem;
}

/* main */
main {
  width: 100%;
  height: auto;
  padding: 0.2rem;
  box-sizing: border-box;
}
main h1 {
  font-size: 0.3rem;
  margin-bottom: 0.2rem;
}
main ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
main ul li {
  width: 3.44rem;
  height: 3rem;
  border-radius: 0.1rem;
  background-color: tomato;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.2rem;
}
main ul li img {
  width: 3.5rem;
  height: 2rem;
  display: block;
}
main .mask {
  position: absolute;
  top: 1.4rem;
  font-size: 0.4rem;
  color: white;
  width: 3.5rem;
  height: 0.6rem;
  background-color: rgba(0, 0, 0, 0.158);
  padding-left: 0.1rem;
  box-sizing: border-box;
}
main .js {
  width: 3.44rem;
  height: 1rem;
  background-color: rgb(255, 255, 255);
  box-sizing: border-box;
  padding: 0.1rem;
}
main .js .p1 {
  font-size: 0.27rem;
}
main .js .p2 {
  font-size: 0.4rem;
  color: red;
}
main .js .sp1 {
  font-size: 0.2rem;
  color: rgb(100, 97, 97);
  float: right;
  line-height: 0.6rem;
}
main .js .sp2 {
  font-weight: 999;
}

/* footer */
footer {
  width: 100%;
  height: 0.98rem;
  background-color: #f5ecec;
  font-size: 0.18rem;
  position: fixed;
  bottom: 0;
}

footer ul {
  display: flex;
  justify-content: space-between;
}
footer ul li {
  flex: 1;
  text-align: center;
}
footer ul li .iconfont {
  width: 0.48rem;
  height: 0.48rem;
  display: block;
  font-size: 0.48rem;
  margin: 0.1rem auto;
}
